package com.example.administrator.myapplication.activity.billboardSecondActivity.bean.BillboardSecondEntity;

import android.content.Context;
import android.content.Intent;

import com.example.administrator.myapplication.activity.palyActivity.PlayActivity;

/**
 * Created by Administrator on 2017.2.8.
 */
public class BillboardSecondData {
    private String albumId;

    private String albumTitle;

    private int commentsCounts;

    private String coverSmall;

    private String createdAt;

    private int duration;

    private int favoritesCounts;

    private String id;

    private boolean isAuthorized;

    private boolean isFree;

    private boolean isPaid;

    private String nickname;

    private String playPath32;

    private String playPath64;

    private String playPathAacv164;

    private String playPathAacv224;

    private int playsCounts;

    private int priceTypeId;

    private int sampleDuration;

    private int sharesCounts;

    private String tags;

    private String title;

    private String trackId;

    private String uid;

    private String updatedAt;

    private int userSource;


    public void onClickItem(Context context){
        Intent intent = new Intent(context, PlayActivity.class);
        intent.putExtra("playUrl64",playPath64);
        intent.putExtra("trackId",trackId);
        intent.putExtra("title",title);
        intent.putExtra("uid",uid);
        context.startActivity(intent);
    }

    public String getAlbumId() {
        return albumId;
    }

    public void setAlbumId(String albumId) {
        this.albumId = albumId;
    }

    public String getAlbumTitle() {
        return albumTitle;
    }

    public void setAlbumTitle(String albumTitle) {
        this.albumTitle = albumTitle;
    }

    public int getCommentsCounts() {
        return commentsCounts;
    }

    public void setCommentsCounts(int commentsCounts) {
        this.commentsCounts = commentsCounts;
    }

    public String getCoverSmall() {
        return coverSmall;
    }

    public void setCoverSmall(String coverSmall) {
        this.coverSmall = coverSmall;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public int getFavoritesCounts() {
        return favoritesCounts;
    }

    public void setFavoritesCounts(int favoritesCounts) {
        this.favoritesCounts = favoritesCounts;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isAuthorized() {
        return isAuthorized;
    }

    public void setAuthorized(boolean authorized) {
        isAuthorized = authorized;
    }

    public boolean isFree() {
        return isFree;
    }

    public void setFree(boolean free) {
        isFree = free;
    }

    public boolean isPaid() {
        return isPaid;
    }

    public void setPaid(boolean paid) {
        isPaid = paid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPlayPath32() {
        return playPath32;
    }

    public void setPlayPath32(String playPath32) {
        this.playPath32 = playPath32;
    }

    public String getPlayPath64() {
        return playPath64;
    }

    public void setPlayPath64(String playPath64) {
        this.playPath64 = playPath64;
    }

    public String getPlayPathAacv164() {
        return playPathAacv164;
    }

    public void setPlayPathAacv164(String playPathAacv164) {
        this.playPathAacv164 = playPathAacv164;
    }

    public String getPlayPathAacv224() {
        return playPathAacv224;
    }

    public void setPlayPathAacv224(String playPathAacv224) {
        this.playPathAacv224 = playPathAacv224;
    }

    public int getPlaysCounts() {
        return playsCounts;
    }

    public void setPlaysCounts(int playsCounts) {
        this.playsCounts = playsCounts;
    }

    public int getPriceTypeId() {
        return priceTypeId;
    }

    public void setPriceTypeId(int priceTypeId) {
        this.priceTypeId = priceTypeId;
    }

    public int getSampleDuration() {
        return sampleDuration;
    }

    public void setSampleDuration(int sampleDuration) {
        this.sampleDuration = sampleDuration;
    }

    public int getSharesCounts() {
        return sharesCounts;
    }

    public void setSharesCounts(int sharesCounts) {
        this.sharesCounts = sharesCounts;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTrackId() {
        return trackId;
    }

    public void setTrackId(String trackId) {
        this.trackId = trackId;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public int getUserSource() {
        return userSource;
    }

    public void setUserSource(int userSource) {
        this.userSource = userSource;
    }

}
